package com.novel.common.exception;

import lombok.Getter;

import java.text.SimpleDateFormat;

@Getter
public class CustomerException extends RuntimeException {

    //自定义的时间格式化模板，主要用于异常发生时转换日期格式
    public static final SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd:hh:mm:ss");

    public CustomerException(String message) {
        super(message);
    }

}
